package com.simpou.commons.model.entity;

import com.simpou.commons.utils.exception.model.RuleViolation;

/**
 * Entidade concreta básica.
 *
 * @author Jonas Pereira
 * @since 2012-06-11
 * @version 2013-06-30
 */
public class AbstractEntity implements BaseEntity {

    /**
     * {@inheritDoc}
     */
    @Override
    public RuleViolation validate() {
        //validação OK
        return null;
    }

    @Override
    public void fillRandom() {
    }

    @Override
    public BaseEntity doClone() {
        try {
            return (BaseEntity) super.clone();
        } catch (CloneNotSupportedException ex) {
            throw new RuntimeException(ex);
        }
    }
}
